#!/bin/bash

BASE_DIR="D:/opt/mydata"

mkdir -p "$BASE_DIR/mysql/data"
mkdir -p "$BASE_DIR/mysql/conf"

mkdir -p "$BASE_DIR/postgresql/data"

mkdir -p "$BASE_DIR/mongodb/data"

mkdir -p "$BASE_DIR/redis/data"

mkdir -p "$BASE_DIR/minio/data"
mkdir -p "$BASE_DIR/minio/config"

mkdir -p "$BASE_DIR/kafka/data"

mkdir -p "$BASE_DIR/nginx/conf"
mkdir -p "$BASE_DIR/nginx/logs"
mkdir -p "$BASE_DIR/nginx/html"

mkdir -p "$BASE_DIR/grafana/data"
mkdir -p "$BASE_DIR/grafana/log"
mkdir -p "$BASE_DIR/grafana/conf"

mkdir -p "$BASE_DIR/prometheus/data"
mkdir -p "$BASE_DIR/prometheus/conf"

mkdir -p "$BASE_DIR/jenkins/data"

mkdir -p "$BASE_DIR/gitea/data"
mkdir -p "$BASE_DIR/gitea/conf"

echo "所有目录创建完成。"
